<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Api 模拟测试</title>
    <script type="text/javascript" src="/static/js/jquery-3.3.1.min.js" th:src="@{/js/jquery-3.3.1.min.js}"></script>
    <script type="text/javascript" src="/static/js/api.js" th:src="@{/js/api.js}+ '?v=202001042220'"></script>
</head>
<body>
    <h3 align="center">api列表</h3>
    <form id="formApiTest" method="POST" action="">
        <table width="80%" align="center">
            <tr>
                <td>
                    <hr/>
                    身份证号：<input type="text" id="idNumber" value="522128200811036001"/>
                    <br/>
                    <a href="javascript:apiPost('getEduStudentByIdNumber');">搜索学生，通过身份证号搜索</a><br/>
                    <hr/>
                    身份证号：<input type="text" id="idNumber2" value="522128200811036006"/><br/>
                    电话：<input type="text" id="phone" value="1380013806"/><br/>
                    <a href="javascript:apiPost('getEduStudentByIdNumberOrPhone');">搜索学生，通过身份证号或电话搜索</a><br/>
                    <hr/>
                    <a href="javascript:apiPost('getAllActivityStudent');">搜索学生，返回学生原生表的所有信息</a><br/>
                    <hr/>
                    <a href="javascript:apiPost('getAllActivityStudentSearchResponse');">搜索学生，返回自定义视图</a><br/>
                    <hr/>
                    <a href="javascript:apiPost('getFinMajorTuitionGradeList');">搜索年级所有专业学费标准</a><br/>
                    <hr/>
                    年级专业学费标准主键Id：<input type="text" id="majorTuitionGradeId" value="3"/><br/>
                    <a href="javascript:apiPost('getFinMajorTuitionGradeByPrimaryKey');">根据主键搜索年级专业学费标准</a><br/>
                    <hr/>
                    <a href="javascript:apiPost('getSysDeptList');">搜索部门信息</a><br/>
                    <hr/>
                    商家ID：
                    <select id="bizId">
                        <option value="1">1</option>
                        <option value="31">31</option>
                        <option value="10681">10681</option>
                        <option value="10682">10682</option>
                        <option value="13883">13883</option>
                    </select>
                    <br/>
                    <a href="javascript:apiPost('getBizTradeByBizId');">搜索商家订单</a><br/>
                    <hr/>
                </td>
            </tr>
        </table>
    </form>
    <br/>
    <table width="80%" align="center">
        <tr>
            <td>
                <b>执行结果</b> <br/>
                <textarea rows="10" cols="160" id="txtJsonResult"></textarea>
            </td>
        </tr>
        <tr><td height="80"></td></tr>
    </table>
</body>
</html>